package com.ekingstar.framework.domain;
// default package

import java.util.Date;


/**
 * AbstractOnlineUser entity provides the base persistence definition of the OnlineUser entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractOnlineUser  implements java.io.Serializable {


    // Fields    

     private String id;
     private User TUser;
     private String userName;
     private Date loginTime;
     private String ipAddress;
     private String state;
     private String sessionId;


    // Constructors

    /** default constructor */
    public AbstractOnlineUser() {
    }

    
    /** full constructor */
    public AbstractOnlineUser(User user, String userName, Date loginTime, String ipAddress, String state, String sessionId) {
        this.TUser = user;
    	this.userName = userName;
        this.loginTime = loginTime;
        this.ipAddress = ipAddress;
        this.state = state;
        this.sessionId = sessionId;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

	public User getTUser() {
		return TUser;
	}

	public void setTUser(User user) {
		TUser = user;
	}

	public String getUserName() {
        return this.userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getLoginTime() {
        return this.loginTime;
    }
    
    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getIpAddress() {
        return this.ipAddress;
    }
    
    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getState() {
        return this.state;
    }
    
    public void setState(String state) {
        this.state = state;
    }

    public String getSessionId() {
        return this.sessionId;
    }
    
    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }
}